This repository was archived by the owner on Jan 29, 2026. It is now read-only.
Closed
Conversation
Adds an on-screen display for brightness changes, similar to the existing volume and microphone OSD displays. Features: - Brightness icon, progress bar, and percentage label - Automatic display when brightness changes (keyboard keys, etc.) - Auto-hide after timeout (same duration as volume OSD) - Styling classes for low/medium/high brightness levels - Suppresses initial display on startup to avoid flashing The brightness OSD integrates with the existing compact stack and reuses the same display timeout mechanism as volume/mic displays.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an on-screen display for brightness changes, similar to the existing volume and microphone OSD displays.
Features
VOLUME_DISPLAY_DURATION)brightness-low,brightness-medium,brightness-highImplementation
Brightnessservice fromservices/brightness.pybrightness_boxto the compact stack alongside volume/mic displays_on_brightness_changed_signal()- handles brightness change events_update_brightness_appearance()- updates styling based on level_update_brightness_widgets_silently()- initial update without OSDshow_brightness_display()- shows the OSDTesting
Tested on Arch Linux with Hyprland. Brightness OSD appears when adjusting brightness via keyboard keys and auto-hides after the configured duration.
Screenshots
The OSD appears in the notch with the same styling as the volume OSD, showing a brightness icon, progress bar, and percentage.